<?php
namespace app\index\validate;

use think\Validate;

class GoodsNext extends Validate
{
	protected $rule = [
		'goods_id'=>'require',
		'title'=>'require',
		'desc'=>'require',
		'link'=>'require',
	];

	protected $message = [
		'title.require'=>'课程id不能为空',
		'title.require'=>'课程标题不能为空',
		'desc.require'=>'课程时间不能为空',
		'link.require'=>'链接不能为空',
	];
}

?>